package ch2;

public class castingEx1 {
 public static void main(String arg[]){
	 double d = 100.0;
	 int i = 100;
	 int result = i +(int)d;
	 
	 System.out.println("d="+d);
	 System.out.println("i="+i);
	 System.out.println("result=" + result);
 }
}
